# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=qt-wayland-shell-helpers
pkgver=0.1.1
pkgrel=3
pkgdesc="helpers for using Qt with arbitrary Wayland shell protocols"
url="https://github.com/iridescent-desktop/qt-wayland-shell-helpers"
arch="all !armhf" # blocked by qt5-qtdeclarative
license="ISC"
makedepends="wayland-protocols wayland-dev qt5-qtbase-dev qt5-qttools-dev qt5-qtwayland-dev meson"
subpackages="$pkgname-dev"
source="https://github.com/iridescent-desktop/qt-wayland-shell-helpers/archive/v$pkgver/qt-wayland-shell-helpers-$pkgver.tar.gz
	fix-qt-include-directory.patch"
options="!check" # No test suite.

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
b9d2031d03596950d5de5586c8c703903b1de594edef45f6d101332287372e6347aef4cb82fc84a4d44316ea2e9610997b13c57c9a3019eb1545c9a251e998b5  qt-wayland-shell-helpers-0.1.1.tar.gz
07b628eb21f1f8c0970adef0877ff0b9c1aa9e6be4484aa857d678107abf3b261f02fbe5cbeb4b17cd945f4afd7174fc6a3a156cc58c0ecace34e0c93ece5e07  fix-qt-include-directory.patch
"
